package com.yuanyefu.jdbc;

import java.util.List;

/**
 * Created by Administrator on 2017/9/18 0018.
 */
public interface BookDao {
    List<Book> queryAll();
    List<Book> queryByAuthor(String author);
    void create(Book book);
    void update(Book book);
    void delete(String id);
}
